package org.huntaway.kernel.mode.state;

import org.huntaway.kernel.mode.state.imp.Mad2;
import org.huntaway.kernel.mode.state.model.MoodState;

public class Person2 {
	int iNum=0;
	private MoodState state;

	public Person2() {
		state = new Mad2(this);
	}

	public void setState(MoodState state) {
		this.state = state;
	}

	public void doSomething() {
		state.doSomething();
		state.changeState();
	}

	public int getiNum() {
		return iNum;
	}

	public void setiNum(int iNum) {
		this.iNum = iNum;
	}
	
}
